{include file="header.tpl"}
<!-- Sol-->
            {include file="menu.tpl"}

<!-- SaÃ°-->
<div id="sag">
    {foreach from=$makale item=bar}
        <div class="orta_title">
        <div class="entry_comment"><strong>{$bar.10}</strong></div>
        <div class="entry_title"><strong><a href="makale.php?id={$bar.0}">{$bar.1}</a></strong></div>
        <div class="entry_date"><strong>{$bar.3}</strong></div>
    </div>
    <div class="orta_orta">
        <div class="orta_icerik">
            <div class="orta_yazi"><img style="width: 180px;" src="{$bar.7}" alt="" />{bbcode tema=$tema text=$bar.2}</div>
            <div class="orta_menu">
                <a href="uye.php?id={$bar.4}"><img src="{$tema}/images/ico1.png" alt="" />{$bar.9}</a>
                <a href="kategoriler.php?id={$bar.5}"><img src="{$tema}/images/ico3.png" alt="" />{$bar.8}</a>
                <a href="makale.php?id={$bar.0}"><img src="{$tema}/images/ico5.png" alt="" />{$bar.6} Okunma</a>
                <a href="makale.php?id={$bar.0}">&nbsp;Devamı..</a>
            </div>
        </div>
    </div>
    <div class="orta_alt"></div>
    {/foreach}
                {if $makale_sayisi gt 0}
    <div class="register_title"><strong>Sayfalar</strong></div>
    <div class="orta_orta">
        <div class="orta_yazi">
            <div class="sayfalama">
                         {$sayfalama}
            </div>
        </div>
    </div>
    <div class="orta_alt"></div>
                {else}
    <div class="register_title"><strong>Hata</strong></div>
    <div class="orta_orta">
        <div class="orta_yazi">
            Sitede herhangi bir yazı bulunmamakta.
        </div>
    </div>
    <div class="orta_alt"></div>
                {/if}
</div>

<div class="both"></div>
</div>

        {include file="footer.tpl"}
</div>

</div>
</body>
</html>
